//
//  YFTrainingApi.h
//  CoollangTennisBall
//
//  Created by Coollang on 2018/1/15.
//  Copyright © 2018年 Coollang-YF. All rights reserved.
//

#import "YFBaseRequest.h"


@class RealTimeTrainModel;
@interface YFTrainingApi : YFBaseRequest

/**
 * 获取教练视频
 * isHDVideo: Yes 为获取海德的教学视频，NO 为获取老版本的教学视频
 */
+ (instancetype)getTrainTennisCoachVideoWithisHDVideo:(BOOL)isHDVideo;

/**
 * 获取实时训练历史数据
 * realTimeTrainType: 获取的历史数据类型
 */
+ (instancetype)getTrainRealTimeHistoryData:(RealTimeTrainType)realTimeTrainType withRealTimeDateString:(NSString *)realTimeDateString complete:(void(^)(NSArray *realTimeDatas,NSError *error))completeBlock;

/**
 * 上传实时训练历史数据
 * realTimeTrainType: 上传的历史数据类型
 */
+ (instancetype)uploadTrainRealTimeRecordDataWithTrainDataModel:(RealTimeTrainModel *)realTimetrainModel;

/**
 * 删除实时训练数据
 * realTimeTrainType: 删除的实时历史数据类型
 */
+ (instancetype)deleteTrainRealTimeHistortDataWithTrainType:(RealTimeTrainType)trainType trainID:(NSString *)ID;


@end
